Smush\Core\Modules\Helpers\Parser S

Total Complexity 48
Dependencies 4
Dependents 7
Total lines 392
Lines of code 156
Logical lines of code 94
Comment lines 177
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
init()
A
52 9 25
get_background_images()
S
51 7 27
get_images_from_content()
S
57 6 16
parse_page()
S
59 5 16
process_background_images()
S
55 4 20
process_images()
S
58 4 15
add_attribute()
S
63 4 9
enable()
S
70 2 6
disable()
S
70 2 6
get_attribute()
S
73 2 4
__construct()
S
76 1 4
remove_attribute()
S
77 1 3
get_links_from_content()
S
73 1 5